﻿<%@ Page Language="VB" MasterPageFile="~/MasterAdmin.master" AutoEventWireup="false" CodeFile="MantServicicos.aspx.vb" Inherits="MantServicicos" title="Página sin título" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<table width=100%>
        <tr>
            <td align="left">
                <asp:Label ID="Label1" runat="server" BackColor="#99CCFF" Font-Bold="True" Font-Names="Verdana"
                    Text="MANTENIMIENTO DE SERVICIOS"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Image ID="Image1" runat="server" Height="83px" 
                    ImageUrl="~/Pictures/servicios.jpg" Width="75px" />
&nbsp;<asp:Image ID="Image2" runat="server" Height="91px" ImageUrl="~/Pictures/alq_auto.jpg" 
                    Width="113px" />
            </td>
           
        </tr>
        <tr>
            <td align="left">
                Si desea ingresar un nuevo servicio haga
                <asp:HyperLink ID="HyperLink1" runat="server" 
                    NavigateUrl="~/InsertarServicio.aspx">Clic aquí</asp:HyperLink></td>
         
        </tr>
        <tr>
            <td align="center">
                <asp:GridView ID="gvServicios" runat="server" AllowPaging="True" 
                    OnPageIndexChanging="Cambiarpagina" AutoGenerateColumns="False"
                    CellPadding="4" ForeColor="#333333" GridLines="None" PageSize="5" 
                    Width="541px">
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:BoundField DataField="COD_SERV" HeaderText="C&#211;DIGO" />
<asp:BoundField DataField="COD_TIPO_SRV" HeaderText="TIPO SERVICIO"></asp:BoundField>
<asp:BoundField DataField="COD_PRV" HeaderText="PROVEEDOR"></asp:BoundField>
                        <asp:BoundField DataField="NOM_SERV" HeaderText="NOMBRE" />
                        <asp:BoundField DataField="CARAC_SERV" HeaderText="CARACTERISTICAS" />
                        <asp:BoundField DataField="PRE_SERV" HeaderText="PRECIO" />
                        <asp:BoundField DataField="STOCK_SERV" HeaderText="STOCK" />
                        <asp:TemplateField HeaderText="FOTO">
                            <ItemTemplate>
                                <asp:Image ID="lafoto" runat="server" ImageUrl='<%#Container.DataItem("FOTO_SERV")%>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:HyperLinkField DataNavigateUrlFields="COD_SERV" DataNavigateUrlFormatString="EditarServicio.aspx?servicio={0}"
                            HeaderText="EDITAR DATOS" Text="Editar" />
                    </Columns>
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <EditRowStyle BackColor="#999999" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>
            </td>
           
        </tr>
    </table>

</asp:Content>

